/*
 * Falanxia Utilitaris.
 *
 * Copyright (c) 2011 Falanxia (http://falanxia.com)
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */

package com.falanxia.utilitaris.enums {



	/**
	 * Key codes.
	 *
	 * Original by <a href="http://github.com/iainlobb/Gamepad/blob/master/com/cheezeworld/utils/KeyCode.as">http://github.com/iainlobb/Gamepad/blob/master/com/cheezeworld/utils/KeyCode.as</a>
	 *
	 * @author Vaclav Vancura / Falanxia a.s.
	 * @author Falanxia (<a href="http://falanxia.com">falanxia.com</a>, <a href="http://twitter.com/falanxia">@falanxia</a>)
	 */
	public class KeyCodes {


		public static const LEFT:int = 37;
		public static const RIGHT:int = 39;
		public static const UP:int = 38;
		public static const DOWN:int = 40;

		public static const ZERO:int = 48;
		public static const ONE:int = 49;
		public static const TWO:int = 50;
		public static const THREE:int = 51;
		public static const FOUR:int = 52;
		public static const FIVE:int = 53;
		public static const SIX:int = 54;
		public static const SEVEN:int = 55;
		public static const EIGHT:int = 56;
		public static const NINE:int = 57;

		public static const A:int = 65;
		public static const B:int = 66;
		public static const C:int = 67;
		public static const D:int = 68;
		public static const E:int = 69;
		public static const F:int = 70;
		public static const G:int = 71;
		public static const H:int = 72;
		public static const I:int = 73;
		public static const J:int = 74;
		public static const K:int = 75;
		public static const L:int = 76;
		public static const M:int = 77;
		public static const N:int = 78;
		public static const O:int = 79;
		public static const P:int = 80;
		public static const Q:int = 81;
		public static const R:int = 82;
		public static const S:int = 83;
		public static const T:int = 84;
		public static const U:int = 85;
		public static const V:int = 86;
		public static const W:int = 87;
		public static const X:int = 88;
		public static const Y:int = 89;
		public static const Z:int = 90;

		public static const F1:int = 112;
		public static const F2:int = 113;
		public static const F3:int = 114;
		public static const F4:int = 115;
		public static const F5:int = 116;
		public static const F6:int = 117;
		public static const F7:int = 118;
		public static const F8:int = 119;
		public static const F9:int = 120;
		public static const F10:int = 121;
		public static const F11:int = 122;
		public static const F12:int = 123;
		public static const F13:int = 124;
		public static const F14:int = 125;
		public static const F15:int = 126;

		public static const NUMPAD_0:int = 96;
		public static const NUMPAD_1:int = 97;
		public static const NUMPAD_2:int = 98;
		public static const NUMPAD_3:int = 99;
		public static const NUMPAD_4:int = 100;
		public static const NUMPAD_5:int = 101;
		public static const NUMPAD_6:int = 102;
		public static const NUMPAD_7:int = 103;
		public static const NUMPAD_8:int = 104;
		public static const NUMPAD_9:int = 105;
		public static const NUMPAD_ADD:int = 107;
		public static const NUMPAD_DECIMAL:int = 110;
		public static const NUMPAD_DIVIDE:int = 111;
		public static const NUMPAD_ENTER:int = 108;
		public static const NUMPAD_MULTIPLY:int = 106;
		public static const NUMPAD_SUBTRACT:int = 109;
		public static const NUM_LOCK:int = 144;

		public static const ALT:int = 18;
		public static const CONTROL:int = 17;
		public static const CAPS_LOCK:int = 20;
		public static const BACKSPACE:int = 9;
		public static const BACKWARD_SLASH:int = 220;
		public static const CLEAR:int = 12;
		public static const CLOSED_BRACKET:int = 221;
		public static const COLON:int = 186;
		public static const DELETE:int = 46;
		public static const END:int = 35;
		public static const ENTER:int = 13;
		public static const EQUALS:int = 187;
		public static const ESC:int = 27;
		public static const HELP:int = 47;
		public static const HOME:int = 36;
		public static const INSERT:int = 45;
		public static const OPEN_BRACKET:int = 219;
		public static const PAGE_DOWN:int = 34;
		public static const PAGE_UP:int = 33;
		public static const QUESTION_MARK:int = 191;
		public static const QUOTES:int = 222;
		public static const SHIFT:int = 16;
		public static const SPACE:int = 32;
		public static const SPACEBAR:int = 32;
		public static const TAB:int = 9;
		public static const TILDE:int = 192;
		public static const UNDERSCORE:int = 189;
		public static const LESS_THAN:int = 188;
		public static const GREATER_THAN:int = 190;


	}
}
